package com.ruoyi.system.mapper;

import java.util.List;

import com.ruoyi.system.domain.Opts;
import com.ruoyi.system.domain.TbRoomReservation;
import com.ruoyi.system.domain.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 预约房源Mapper接口
 * 
 * @author wish
 * @date 2021-06-18
 */
@Repository
public interface TbRoomReservationMapper 
{
/*
     * 查询预约房源列表
     * 
     * @param tbRoomReservation 预约房源
     * @return 预约房源集合
     */
    public List<TbRoomReservation> selectTbRoomReservationList(TbRoomReservation tbRoomReservation);
    List<TbRoomReservation> selectRegionCity();
    List<TbRoomReservation> selectRegionProvince(int provinceId);
    List<TbRoomReservation> selectRegionCount(int countId);
    int addReservation(TbRoomReservation tbRoomReservation);
    List<Opts> getRoomOpts();
}
